import service from "@/utils/request";

export const useQuery = (params:any) => service({url: 'use/query', method: 'get', params: params})
export const useLogin = (params:any) => service({url: 'use/login', method: 'post', params: params})
export const register = (params:any) => service({url: 'use/register', method: 'post', params: params})